public class UserManager {

    UserDataProvider userDataProvider;

/*
   // MySQLDBProvider mySQLDBProvider=new MySQLDBProvider();
MongoDBProvide mongoDBProvide=new MongoDBProvide();
*/


    public UserManager(UserDataProvider userDataProvider)
    {

        this.userDataProvider =userDataProvider;
    }


    public String getUserInfo()
    {

        //return mySQLDBProvider.getUserDetails();
        return userDataProvider.getUserDetails();

    }
}
